import request from '@/utils/request'

const thesisPeriodical = {
  list(params){
    return request.get("/cgzh/periodicalInfo/list", { params })
  },
  treeselect() {
    return request.get("/cgzh/periodicalInfo/treeSelect")
  },
  add(data){
    return request.post("/cgzh/periodicalInfo/add", data)
  },
  edit(data){
    return request.post("/cgzh/periodicalInfo/update", data)
  },
  del(id){
    return request.post(`/cgzh/periodicalInfo/delete/${id}`)
  },
  get(id){
    return request.get(`/cgzh/periodicalInfo/detail/${id}`)
  },
}

export default thesisPeriodical;
